package com.jin.spring_boot_learn.lombok;

import lombok.Data;
import org.apache.commons.lang3.RandomUtils;

@Data
public class Person {
    private String name;

    private Integer age;

    public void setAge() {
        this.age = RandomUtils.nextInt(1, 100);
    }
    public void setAge(Integer age) {
        this.age = RandomUtils.nextInt(age, age + 100);
    }

    public String getName() {

        System.out.println("ssssss");
        return "sss";
    }

}
